﻿
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>
<p>用于测试当前web app 读取 父级的web.config的值</p>
<p>父级的web.config里面的key为siteName的值为 @ViewBag.siteName</p>
<p>readonly? @if (ViewBag.dreadonly)
             {
                 <span>yes</span>
             }
             else
             {
                <span>no</span>
             }
    </p>